package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Customer;
import com.weipai.springboot.model.api.Response;
import com.weipai.springboot.model.sys.User;
import org.springframework.http.HttpHeaders;

public interface UserService {

    Response login(String username, String password,String code);

    Response loginOut();

    User getCustomerUser(String username);


    //管理员重置密码
    Response resetAdminPassword(String adminId, String oldPassword, String newPassword, String twoPassword);

    Response thirdPartyLogin(Customer customer);

    //验证用户
    Response verifyCustomer(String username);
}
